package com.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.model.vo.QueryOpenAreaVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author zhexueqi
 * @ClassName QueryMapper
 * @since 2024/4/30    16:01
 */
@Mapper
public interface QueryMapper extends BaseMapper<QueryOpenAreaVO> {

    /**
     *
     */
    @Select("SELECT * FROM region WHERE region_name = #{regionName}")
    QueryOpenAreaVO selectCodeByName(String regionName);
}
